import request from "@/utils/request";

//登录表单接口
export function  getLoginForm(data) {
   return request({
      url: "/api/user/login",
      method: "post",
      data
   })
}

//退出登录接口
export function  logout() {
   return request({
      url: "/api/user/logout",
      method: "get"
   })
}

//注册接口
export function  register(data) {
   return request({
      url: "/api/user/register",
      method: "post",
      data
   })
}


